Skip to content

refactor(ui): fix the unsafe-assignment findings of the access and console tests - #1269

Merged
TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-unsafe-assignment-access-console
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
refactor/ui-unsafe-assignment-access-console

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

Part of migrate-dashboard-to-typescript. The access and console tests still carried suppressions for no-unsafe-assignment. The mounted wrappers and the lazily imported console view were typed loosely, so they were treated as any. They are now typed like the wrappers in the other dashboard tests, and the matching suppressions are removed. Tests only, nothing visible changes.

Type of change

  • refactor - internal change without behaviour change

How was this tested?

In reposilite-frontend:

  • npm run eslint over the whole frontend, clean, no new suppressions
  • npm run typecheck
  • vitest on src/components/access, src/components/console, src/anchors and src/style-gate: 1325 tests pass

Checklist

  • Commit messages follow the Conventional Commits convention
  • Tests cover the change (the change is to the tests themselves)
  • ./gradlew build passes locally (frontend-only change, not run)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved
  • No credentials, tokens or personal data are included in the diff

@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 23, 2026
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 23, 2026
…nsole tests

Type the mounted wrappers and the lazily imported console view so the
assignments are no longer any, and drop the matching suppressions.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP force-pushed the refactor/ui-unsafe-assignment-access-console branch from 6375f82 to d04d0f4 Compare November 23, 2026 09:47
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 7063142 Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the refactor/ui-unsafe-assignment-access-console branch November 23, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant